package string01;

public class CharAtDemo {
    public static void main(String[] args) {
        String str = "thinking in java";
        char a = str.charAt(9);
        System.out.println(a);






















        /*String line = "0123456789abcdefghijklmnopqrstuvwsyzABCDEFGHIJKLMNOPQRSTUVWSYZ";
        char c = line.charAt((int) (Math.random()*62));
        System.out.println(c);*/
    }
}
